package models;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

import play.db.jpa.GenericModel;

/**
 * The persistent class for the insurance database table.
 * 
 */
@Entity
@Table(name = "insurance")
public class Insurance extends GenericModel implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	public long id;

	public String netticketid;

	public long createby;

	@Temporal(TemporalType.TIMESTAMP)
	public Date createtime;

	public long customerid;

	@Temporal(TemporalType.DATE)
	public Date departdate;

	public String departtime;

	public String customername;

	public String certificatetype;

	public String certificateno;

	public String phone;

	public String insuranceno;

	public String reachstationcode;

	public String reachstationname;

	public String insurancestatus;

	public String insuretype;

	public String paymethod;

	public BigDecimal premium;

	public BigDecimal insureamount;

	public String departorgcode;

	public String schedulecode;

	public String seatno;

	public long sellby;

	public String sellip;

	@Temporal(TemporalType.TIMESTAMP)
	public Date selltime;

	public String sellorgcode;

	public String ticketno;

	public String ticketoutlets;

	public long updateby;

	@Temporal(TemporalType.TIMESTAMP)
	public Date updatetime;
}